.cp-goods-select {
  display: grid;
  grid-template-columns: 200upx auto;
  height: 100%;
  width: 100%;
  &_wrap {
    height: 100%;
    width: 100%;
    overflow: auto;
  }
  &-aside {
    background-color: #fff;
    height: 100%;
  }
  /deep/ &-category {
    color: #696e83;
    background-color: #fff;
    height: calc(100% - 60upx);
    flex: 1;
    position: relative;

    &__wrap {
      position: relative;
    }

    &-item {
      width: 100%;
      padding: 20upx;
      box-sizing: border-box;
      position: relative;
      &:last-child {
        // margin-bottom: 200upx;
      }
    }

    &-item.actived {
      color: #3a3a3a;
      background-color: #eceff5;
      position: relative;
      color: $uni-color-primary;

      &::before {
        content: '';
        display: block;
        width: 6upx;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        background-color: $uni-color-primary;
      }
    }

    &__actions {
      position: sticky;
      bottom: 0;
    }
  }
  // =========================================================

  /deep/ &-goods {
    background-color: transparent;
    height: 100%;
    box-sizing: border-box;
    padding-left: 8rpx;
    padding-right: 8rpx;

    &_placeholder {
      padding-bottom: 70vh;
    }

    &__classify {
      color: #333642;
      line-height: 70upx;
      position: sticky;
      top: 0;
      background-color: #eceff5;

      &_text {
        padding-left: 10upx;
      }
    }

    &__list {
      padding: 10upx;
      &.cloumn-2,
      &.cloumn-3 {
        display: flex;
        flex-wrap: wrap;
      }
    }
  }
  /deep/ .cloumn-2 .goods__item {
    width: 49%;
    margin-left: 10upx;
    &:nth-of-type(2n + 1) {
      margin-left: 0;
    }
  }

  /deep/ .cloumn-3 .goods__item {
    width: 32%;
    margin-left: 10upx;
    &:nth-of-type(3n + 1) {
      margin-left: 0;
    }
  }

  /deep/ .goods__item {
    padding: 30upx;
    box-sizing: border-box;
    background-color: #ffffff;
    border-radius: 4px;
    font-size: 14px;
    color: #262626;
    margin-bottom: 10upx;
    .sub-info {
      font-size: 12px;
      color: #84898f;
    }
  }
}
